import java.util.Date;


public class No17 {
	public static void main(String[] args) {
		Date date = new Date();
		Date date2 = new Date(0);
		Date date3 = new Date();
		
		System.out.println(date);
		System.out.println(date2);
		System.out.println(date3);
		System.out.println(date2.compareTo(date));
		System.out.println(date.compareTo(date2));
		System.out.println(date3.compareTo(date));
	}
}
